Skip to main content

Firefox Sync client

Project description

Python Firefox Sync client

This is a python client for Firefox Sync. Check it out with:

$ python setup.py install
$ python syncclient/main.py --help

For instance, if you want to get all passwords (encrypted) use the get_records action:

$ python syncclient/main.py alexis@notmyidea.org $PASSWORD get_records passwords
[u'{1c1e0eea-d9c2-4c59-b95e-4dbe0800639f}',
 u'{0a76ec08-ba7c-48b1-b026-1d65085f789e}',
 u'{7482b391-bf2f-4542-8ebd-27c4398487ff}',
 u'{37bc9298-ac49-c54e-a73d-d817434ed0b2}',
 u'{d5ff4718-d4a0-4703-b0af-7d1c79c3a099}']

CHANGELOG

This document describes changes between each past release.

0.8.0 (2015-12-30)

  • Update to latest request_hawk API. (#24)

0.7.0 (2015-11-17)

  • Add support for trusted certificate pinning. (#21)

0.6.0 (2015-10-12)

  • Circumvent a limitation present in requests-hawk 0.2.0. (#17)

  • Add support for sorting by oldest when retrieving records. (#18)

0.5.0 (2015-10-01)

  • Handle HTTP 304 Not Modified Firefox Sync respones (#14)

0.4.0 (2015-09-23)

  • Forward additionnal client keyword arguments to requests (#12)

0.3.0 (2015-09-21)

  • Separate SyncClient and TokenserverClient code.

  • Add a parameter to configure the expiration of the TokenServer returned credentials.

  • Add a parameter to create a SyncClient with already fetched TokenServer credentials.

  • Handle TokenServer served from a prefixed path.

0.2.0 (2015-09-03)

Bug Fixes

  • Handle API Server URL version prefix.

0.1.0 (2015-09-03)

Initial version

  • A client to synchroneously call a Firefox Sync server.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page